﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Digitalmes.Model.WmsManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.WmsManagement.StoretakeSheetVMs
{
    public partial class StoretakeSheetTemplateVM : BaseTemplateVM
    {
        
        [Display(Name = "_Model._StoretakeSheet._Code")]
        public ExcelPropety Code_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.Code);
        [Display(Name = "_Model._StoretakeSheet._Desc")]
        public ExcelPropety Desc_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.Desc);
        [Display(Name = "_Model._StoretakeSheet._StoretakeDate")]
        public ExcelPropety StoretakeDate_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.StoretakeDate);
        [Display(Name = "_Model._StoretakeSheet._Status")]
        public ExcelPropety Status_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.Status);
        [Display(Name = "_Model._StoretakeSheet._CreateTime")]
        public ExcelPropety CreateTime_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.CreateTime, true);
        [Display(Name = "_Model._StoretakeSheet._UpdateTime")]
        public ExcelPropety UpdateTime_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.UpdateTime, true);
        [Display(Name = "_Model._StoretakeSheet._CreateBy")]
        public ExcelPropety CreateBy_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.CreateBy);
        [Display(Name = "_Model._StoretakeSheet._UpdateBy")]
        public ExcelPropety UpdateBy_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.UpdateBy);
        [Display(Name = "_Model._StoretakeSheet._IsValid")]
        public ExcelPropety IsValid_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.IsValid);
        [Display(Name = "_Model._StoretakeSheet._TenantCode")]
        public ExcelPropety TenantCode_Excel = ExcelPropety.CreateProperty<StoretakeSheet>(x => x.TenantCode);

	    protected override void InitVM()
        {
            
        }

    }

    public class StoretakeSheetImportVM : BaseImportVM<StoretakeSheetTemplateVM, StoretakeSheet>
    {
            //import

    }

}